/* eslint-disable import/prefer-default-export */
import { request } from '@/request/v2';

export const infoDetail = (payload) => {
  return request({
    method: 'get',
    url: `https://www.thuguardian.com/api/wechat_article_detail`,
    payload,
    codeIgnore: true,
  });
};

// 点赞
export const articleLikes = (payload) => {
  return request({
    method: 'get',
    url: `https://www.thuguardian.com/api/article_likes`,
    payload,
    codeIgnore: true,
  });
};

// 收藏
export const articleCollect = (payload) => {
  return request({
    method: 'get',
    url: `https://www.thuguardian.com/api/article_collect`,
    payload,
    codeIgnore: true,
  });
};

// 分享
export const articleShare = (payload) => {
  return request({
    method: 'get',
    url: `https://www.thuguardian.com/api/article_share`,
    payload,
    codeIgnore: true,
  });
};


